package images;

import java.io.File;

public class DeleteResized {
    public static void main(String[] args) {
        File folder = new File("images");
        File[] images = folder.listFiles();
        for (File image:images) {
            if (image.getName().contains("-small") || image.getName().contains("-medium") || image.getName().contains("-large")) {
                image.delete();
                System.out.println("Deleted " + image.getName());
            }
        }
    }
}
